
#include "StdAfx.h"
#include "CDMPlatformClient.h"
#include "AASCallback.h"

void LoginAuthFunc(const DomainInfo& domainInfo, void* pUserData)
{
	CDomainInfoArray* pInfoArray = (CDomainInfoArray*)pUserData;
	pInfoArray->push_back(domainInfo);
}

void AlarmMsgFunc(const AlarmMessage& alarmMsg, void* pUserData)
{
	CAlarmMsgArray* pInfoArray = (CAlarmMsgArray*)pUserData;
	pInfoArray->push_back(alarmMsg);
}

void VehicleFunc(const VehicleInfo& vehicleInfo, void* pUserData)
{
	CVehicleArray* pInfoArray = (CVehicleArray*)pUserData;
	pInfoArray->push_back(vehicleInfo);
}

void CompanyFunc(const CompanyInfo& companyInfo, void* pUserData)
{
	CCompanyArray* pInfoArray = (CCompanyArray*)pUserData;
	pInfoArray->push_back(companyInfo);
}

void LineFunc(const LineInfo& lineInfo, void* pUserData)
{
	CLineArray* pInfoArray = (CLineArray*)pUserData;
	pInfoArray->push_back(lineInfo);
}

void StationFunc(const StationInfo& stationInfo, void* pUserData)
{
	CStationArray* pInfoArray = (CStationArray*)pUserData;
	pInfoArray->push_back(stationInfo);
}

void EmployeeFunc(const EmployeeInfo& employeeInfo, void* pUserData)
{
	CEmployeeArray* pInfoArray = (CEmployeeArray*)pUserData;
	pInfoArray->push_back(employeeInfo);
}

void SuspectFunc(const SuspectInfo& suspectInfo, void* pUserData)
{
	CSuspectArray* pInfoArray = (CSuspectArray*)pUserData;
	pInfoArray->push_back(suspectInfo);
}

void FileFunc(const FileInfo& fileInfo, void* pUserData)
{
	CFileArray* pInfoArray = (CFileArray*)pUserData;
	pInfoArray->push_back(fileInfo);
}

void ModuleInfoFunc(const ModuleInfo& moduleInfo, void* pUserData)
{
	CModuleArray* pInfoArray = (CModuleArray*)pUserData;
	pInfoArray->push_back(moduleInfo);
}

void ChannelInfoFunc(const PowerInfo& chnlInfo, void* pUserData)
{
	CPowerInfoArray* pInfoArray = (CPowerInfoArray*)pUserData;
	pInfoArray->push_back(chnlInfo);
}

void McInfoFunc(const MCInfo& mcInfo, void* pUserData)
{
	CMCInfoArray* pInfoArray = (CMCInfoArray*)pUserData;
	pInfoArray->push_back(mcInfo);
}

void AlarmRankFunc(const AlarmRankInfo& alarmRank, void* pUserData)
{
	CAlarmRankArray* pInfoArray = (CAlarmRankArray*)pUserData;
	pInfoArray->push_back(alarmRank);
}

void AlarmTypeFunc(const AlarmTypeInfo& alarmType, void* pUserData)
{
	CAlarmTypeArray* pInfoArray = (CAlarmTypeArray*)pUserData;
	pInfoArray->push_back(alarmType);
}

void CaseSiteFunc(const CaseSiteInfo& caseSite, void* pUserData)
{
	CCaseSiteArray* pInfoArray = (CCaseSiteArray*)pUserData;
	pInfoArray->push_back(caseSite);
}

void CaseTownFunc(const CaseTownInfo& caseTown, void* pUserData)
{
	CCaseTownArray* pInfoArray = (CCaseTownArray*)pUserData;
	pInfoArray->push_back(caseTown);
}

void CaseTypeFunc(const CaseTypeInfo& caseType, void* pUserData)
{
	CCaseTypeArray* pInfoArray = (CCaseTypeArray*)pUserData;
	pInfoArray->push_back(caseType);
}

void CaseUnitFunc(const CaseUnitInfo& caseUnit, void* pUserData)
{
	CCaseUnitArray* pInfoArray = (CCaseUnitArray*)pUserData;
	pInfoArray->push_back(caseUnit);
}

void CaseSourceFunc(const CaseSourceInfo& caseSource, void* pUserData)
{
	CCaseSourceArray* pInfoArray = (CCaseSourceArray*)pUserData;
	pInfoArray->push_back(caseSource);
}

void CaseFunc(const CaseInfo& caseInfo, void* pUserData)
{
	CCaseInfoArray* pInfoArray = (CCaseInfoArray*)pUserData;
	pInfoArray->push_back(caseInfo);
}

void RcdFileFunc(const RecordFile& rcdFileInfo, void* pUserData)
{
	CRcdFileArray* pInfoArray = (CRcdFileArray*)pUserData;
	pInfoArray->push_back(rcdFileInfo);
}

void PoliceFunc(const PoliceInfo& policeInfo, void* pUserData)
{
	CPoliceArray* pInfoArray = (CPoliceArray*)pUserData;
	pInfoArray->push_back(policeInfo);
}

void DevFunc(const DevInfo& devInfo, void* pUserData)
{
	CDevArray* pInfoArray = (CDevArray*)pUserData;
	pInfoArray->push_back(devInfo);
}

void MapFunc(const MapInfo& mapInfo, void* pUserData)
{
	CMapInfoArray* pInfoArray = (CMapInfoArray*)pUserData;
	pInfoArray->push_back(mapInfo);
}
